package com.wenli.graduate2022.wenliGreenShop.entity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;

import java.io.Serializable;

/**
 * @author HuangHai
 * @date 2021/10/12 15:46
 */
@Data
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler" })
public class ProductImage implements Serializable {
    private Integer productImageId;
    private Byte productImageType;  //  图片类型：0代表概述图片，1代表详情图片
    private String productImageSrc;  //产品图片的路径
    private Product productImageProduct;  //该图片所对应的产品
}
